Version

UltraMenuItem Constructor(MenuMerge,Int32,Shortcut,String,EventHandler,EventHandler,EventHandler,MenuItem[])

Initializes a new UltraMenuItem with the specified parameters
Syntax
'Declaration
 
Public Function New( _
   ByVal mergeType As MenuMerge, _
   ByVal mergeOrder As Integer, _
   ByVal shortcut As Shortcut, _
   ByVal text As String, _
   ByVal onClick As EventHandler, _
   ByVal onPopup As EventHandler, _
   ByVal onSelect As EventHandler, _
   ByVal items() As MenuItem _
)
public UltraMenuItem( 
   MenuMerge mergeType,
   int mergeOrder,
   Shortcut shortcut,
   string text,
   EventHandler onClick,
   EventHandler onPopup,
   EventHandler onSelect,
   MenuItem[] items
)

Parameters

mergeType
Merge type
mergeOrder
Merge order
shortcut
Shortcut
text
Text to be displayed
onClick
Click event handler
onPopup
Popup event handler
onSelect
Select event handler
items
Array of menu items
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also